package br.ufpa.cbcc2007.dikemon.map.actors;

import javax.microedition.lcdui.Image;
import javax.microedition.lcdui.game.Sprite;

import br.ufpa.cbcc2007.dikemon.map.Collideable;

//Deprecated
public class Wall extends Sprite implements Collideable{

	private static Image defaulImage;

	public Wall(int x, int y,int width, int height) {
		super(getDefaultImage(), 1, 1);
		setPosition(x, y);
		defineCollisionRectangle(0, 0, width, height);
	}

	private static Image getDefaultImage() {
		if (defaulImage == null) {
			int[] rgb = {0,0,0,0};
			defaulImage = Image.createRGBImage(rgb, 1, 1, true);
		}
		return defaulImage;
	}

	public void collides(Collideable other) {
		return;
	}

	public void collidesTile() {
		// TODO Auto-generated method stub
		
	}

}
